Skip to content

[Intl] Add NumberFormatter::ROUND_HALFODD #13191

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

Ayesh
Copy link
Member

@Ayesh Ayesh commented Jan 18, 2024

The NumberFormatter::ROUND_HALFEVEN constant exists in PHP already, but its counterpart ROUND_HALFODD was missing. This adds it, using UNUM_ROUND_HALF_ODD.

@Ayesh Ayesh force-pushed the intl-numberformatter-halfodd branch from 67e8ed5 to 73883c2 Compare January 18, 2024 17:39
Copy link
Member

@devnexen devnexen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

The NumberFormatter::ROUND_HALFEVEN constant exists in PHP already, but its counterpart ROUND_HALFODD was missing.
This adds it, using `UNUM_ROUND_HALF_ODD`
@Ayesh Ayesh force-pushed the intl-numberformatter-halfodd branch from 73883c2 to b0a421e Compare January 18, 2024 18:08
@devnexen devnexen closed this in 8cc472d Jan 18, 2024
@devnexen
Copy link
Member

Thanks @Ayesh (and @jorgsowa ;-))

@Ayesh
Copy link
Member Author

Ayesh commented Jan 18, 2024

Thank you 🙏.

@Ayesh Ayesh deleted the intl-numberformatter-halfodd branch January 18, 2024 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants